/* Copyright 2001,2002,2003 NAH6
 * All Rights Reserved
 *
 * Parts Copyright DoD, Parts Copyright Starium
 *
 */
/*========================================================================
c
c               line spectral frequency quantization tables
c
c************************************************************************/
#if 1

/* The following table has been converted to 0.15 fixed point format */
fxpt_16 LSFTable[LSFTABLE_LENGTH][LSFTABLE_WIDTH] = {

        /*  First  */
        {
          410,   696,   922,  1024,  1147,  1393,  1720,  2048,
            0,     0,     0,     0,     0,     0,     0,     0
        },

        /*  Second */
        {
          860,   963,  1085,  1208,  1331,  1475,  1638,  1802,
         1966,  2130,  2294,  2499,  2744,  3031,  3318,  3604
        },

        /*  Third */
        {
         1720,  1884,  2048,  2212,  2396,  2621,  2888,  3174,
         3482,  3891,  4301,  4710,  5120,  5530,  5939,  6349
        },


        /*  Fourth */
        {
         2540,  2703,  2949,  3256,  3604,  3973,  4424,  4792,
         5202,  5612,  6021,  6431,  6840,  7250,  7660,  8069
        },


        /*  Fifth */
        {
         4096,  4301,  4628,  4956,  5263,  5530,  5857,  6185,
         6513,  6840,  7168,  7578,  7987,  8397,  8806,  9216
        },


        /*  Sixth */
        {
         6021,  6431,  6922,  7496,  8192,  9011,  9830, 10650,
            0,     0,     0,     0,     0,     0,     0,     0
        },


        /*  Seventh */
        {
         7373,  7700,  8028,  8602,  9421, 10158, 11059, 11878,
            0,     0,     0,     0,     0,     0,     0,     0
        },


        /*  Eighth */
        {
         9114,  9830, 10342, 10854, 11469, 12083, 12902, 13722,
            0,     0,     0,     0,     0,     0,     0,     0
        },


        /*  Ninth */
        {
        11305, 11796, 12288, 12698, 13107, 13558, 14049, 14541,
            0,     0,     0,     0,     0,     0,     0,     0
        },


        /*  Tenth */
        {
        13066, 13394, 13722, 14008, 14295, 14705, 15196, 15688,
            0,     0,     0,     0,     0,     0,     0,     0
        }
};

#else

fxpt_32 LSFTable[LSFTABLE_LENGTH][LSFTABLE_WIDTH] =
{
	/*  First  */
	{
       	26843545L, 45634027L, 60397978L, 67108864L, 75161928L, 91268055L, 112742891L, 134217728L, 
			0, 0, 0, 0, 0, 0, 0, 0
	},

	/*  Second */
	{
        56371446L, 63082332L, 71135396L, 79188459L, 87241523L, 96636764L, 107374182L, 118111601L, 
	        128849019L, 139586437L, 150323855L, 163745628L, 179851755L, 198642237L, 217432719L, 236223201L
	},
	/*  Third */
	{
		112742891L, 123480310L, 134217728L, 144955146L, 157034742, 171798692L, 189246996L, 208037478L, 
        228170137L, 255013683L, 281857229L, 308700774L, 335544320L, 362387865L, 389231411L, 416074957L
	},

	/*  Fourth */
	{
        166429983L, 177167401L, 193273528L, 213406187L, 236223201L, 260382392L, 289910292L, 314069483L,
        340913029L, 367756575L, 394600120L, 421443666L, 448287211L, 475130757L, 501974302L, 528817848L
	},

	/*  Fifth */
	{
        268435456L, 281857229L, 303332065L, 324806902L, 344939561L, 362387865L, 383862702L, 405337538L,
        426812375L, 448287211L, 469762048L, 496605593L, 523449139L, 550292685L, 577136230L, 603979776L
	},
	/*  Sixth */
	{
		394600120L, 421443666L, 453655920L, 491236884L, 536870912L, 590558003L, 644245094L, 697932185L,
		0, 0, 0, 0, 0, 0, 0, 0
	},

	/*  Seventh */
	{
        483183821L, 504658657L, 526133494L, 563714457L, 617401549L, 665719931L, 724775731L, 778462822L,
		0, 0, 0, 0, 0, 0, 0, 0
	},
	/*  Eighth */
	{
        597268889L, 644245094L, 677799526L, 711353958L, 751619276L, 791884595L, 845571686L, 899258777L,
		0, 0, 0, 0, 0, 0, 0, 0
	},
	/*  Ninth */
	{
        740881858L, 773094113L, 805306368L, 832149913L, 858993459L, 888521359L, 920733614L, 952945868L,
		0, 0, 0, 0, 0, 0, 0, 0
	},
	/*  Tenth */
	{
        856309104L, 877783941L, 899258777L, 918049259L, 936839741L, 963683287L, 995895541L, 1028107796L,
		0, 0, 0, 0, 0, 0, 0, 0
	}
};
#endif
